<template>
	<view style="min-height: 100vh;background-color: white;">
		<view class="flex-js msgTopLink ">
			<view class="toplink">
				<view class="toplinkIcon">
					<image src="/static/logo.png" mode=""></image>
				</view>
				<view>赞与访客</view>
			</view>
			<view class="toplink">
				<view class="toplinkIcon ">
					<image src="/static/logo.png" mode=""></image>
				</view>
				<view>系统消息</view>
			</view>
			<view class="toplink" @click="myFollow">
				<view class="toplinkIcon ">
					<image src="/static/logo.png" mode=""></image>
				</view>
				<view>新关注我的</view>
			</view>
			<view class="toplink">
				<view class="toplinkIcon ">
					<image src="/static/logo.png" mode=""></image>
				</view>
				<view>收到报名</view>
			</view>
		</view>
		<!-- 聊天列表 -->
		<view class="" style="padding: 20rpx;">
			<ChatList></ChatList>
		</view>
	</view>
</template>

<script>
	import ChatList from '@/chatPages/compoents/ChatList.vue'
	export default {
		components: {
			ChatList
		},
		data() {
			return {

			};
		},
		onShow() {},
		methods: {
			myFollow() {
				uni.navigateTo({
					url: '/chatPages/myFollow'
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.msgTopLink {
		padding: 30rpx 10rpx;
		background-color: #FFF;
		justify-content: space-between;
	}

	.toplink {
		width: 20vw;
		height: 120rpx;
		text-align: center;
		font-size: 24rpx;
		letter-spacing: 2rpx;
	}

	.toplinkIcon {
		margin: auto;
		width: 90rpx;
		height: 90rpx;
		background-color: #CCC;
		border-radius: 80rpx;
		margin-bottom: 10rpx;
		position: relative;

		image {
			width: 100%;
			height: 100%;
			border-radius: 100%;
		}
	}



	.messageListBox {
		margin-top: 20rpx;
		background-color: #FFF;
		;
	}

	.messageItem {
		padding: 30rpx;
		border-bottom: 1rpx solid #f7f7f7
	}

	.msgHead {
		width: 90rpx;
		height: 90rpx;
		background-color: #CCC;
		border-radius: 90rpx;
	}

	.msgHead image {
		width: 90rpx;
		height: 90rpx;
		border-radius: 90rpx;
	}

	.msgText {
		margin-left: 20rpx;
		width: 60vw;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 4rpx 0;

	}

	.msgName {
		font-size: 28rpx;
	}

	.lastMsg {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		color: #aeaeae;
		font-size: 24rpx;
	}

	.msgTime {
		white-space: nowrap;
		width: 150rpx;
		color: #999;
		font-size: 24rpx;
		text-align: right;
	}

	.fui-title {
		font-size: 32rpx;
		padding-top: 24rpx;
	}

	.fui-descr {
		font-size: 24rpx;
		color: #B2B2B2;
		padding-top: 12rpx;
		padding-bottom: 48rpx;
	}

	.fui-icon__close {
		position: absolute;
		right: 24rpx;
		top: 20rpx;
	}

	.fui-badge__wrap.data-v-3cb5ff68 {
		height: 30rpx;
		color: #FFFFFF;
		font-size: 20rpx;
		line-height: 30rpx;
		border-radius: 100px;
		min-width: 30rpx !important;
		display: flex;
		box-sizing: border-box;
		white-space: nowrap;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		text-align: center;
		z-index: 10;
	}
</style>